package com.yingside.exception;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        String str = null;
        System.out.println("abc".equals(str));

        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入第一个数字");
        int a = scanner.nextInt();
        System.out.println("请输入第二个数字");
        int b = scanner.nextInt();

        while(b == 0){
            System.out.println("除数不能为0，请重新输入:");
            b = scanner.nextInt();
        }

        int c = a / b;

        System.out.println("c = " + c);

        System.out.println("aaa");
        System.out.println("aaa");
        System.out.println("aaa");
        System.out.println("aaa");
        System.out.println("aaa");
    }
}
